import Vue from 'vue'
import Router from 'vue-router'
const Login = resolve => require(['../views/login/index'], resolve)
const register = resolve => require(['../views/login/register'], resolve)

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/register',
      name: 'register',
      component: register
    }
  ]
})
